package com.hlkj.baojin.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * @author 徐其伟
 * @Description:
 * @date 18-12-17 上午9:32
 */
@Getter
@Setter
public class AlarmRecordDto implements Serializable {
    @Id
    private String id;

    @ApiModelProperty("位置->厂区（修改1223）")
    private String location;

    @ApiModelProperty(value = "监控对象（新增1223）")
    private String monitorObject;

    @ApiModelProperty("存储物品")
    private String storeItems;

    @ApiModelProperty("公司id")
    private String companyId;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("公司法人")
    private String legalPerson;
    @ApiModelProperty("公司法人手机号")
    private String legalPersonPhone;

    @ApiModelProperty(value = "公司负责人")
    private String companyPrincipal;

    @ApiModelProperty(value = "公司负责人手机号")
    private String companyPrincipalPhone;

    @ApiModelProperty("中控人员")
    private String controlMan;

    @ApiModelProperty("中控值班电话")
    private String controlTelephone;

    @ApiModelProperty("中控人员手机")
    private String controlManMobilePhone;

    @ApiModelProperty("设备Id")
    private String deviceId;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备类型（新增1223） 0.储量 1.温度 2.泄漏量")
    private Integer monitorType;

    @ApiModelProperty("报警内容")
    private String alarmContent;

    @ApiModelProperty("报警状态 0未上报 1上报")
    private Integer alarmStatus;
    @ApiModelProperty("报警原因")
    private AlarmReason alarmReason;

    @ApiModelProperty("处理状态 状态 0未上报 1上报")
    private Integer handleStatus;
    @ApiModelProperty("处理方式")
    private HandleMethod handleMethod;

    @ApiModelProperty(value = "技术说明书")
    private List<String> techManual;

    @ApiModelProperty(value = "应急方案")
    private List<String> emergencyPlan;

    @ApiModelProperty(value = "恢复时间")
    private Long recoverTime;

    private Long createTime;

    private Long updateTime;

}
